package com.xayy.mgt.model.xinwangmodel;

import cn.kawins.mybatis.base.BaseModel;
import cn.kawins.mybatis.util.SnowflakeId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import lombok.*;

/**
 * 生成评估数据
 * @author plq
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "health_xw.health_xw.assess_data")
@EqualsAndHashCode(callSuper = true)
public class AssessData extends BaseModel<Long> {

    @Id
    @ApiModelProperty(value = "主键")
    @KeySql(genId = SnowflakeId.class)
    @JsonSerialize(using = ToStringSerializer.class)
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "卫星id")
    @Column(name = "satellite_id")
    private Long satelliteId;

    @ApiModelProperty(value = "卫星编号")
    @Column(name = "satellite_code")
    private String satelliteCode;

    @ApiModelProperty(value = "卫星名称")
    @Column(name = "satellite_name")
    private String satelliteName;

    @ApiModelProperty(value = "遥测时间")
    @Column(name = "tel_data")
    private Date telData;

    @ApiModelProperty(value = "馈电链路状态：0异常，1正常")
    @Column(name = "ZX5")
    private String ZX5;

    @ApiModelProperty(value = "馈电链路速率")
    @Column(name = "ZX6355")
    private String ZX6355;


    @ApiModelProperty(value = "激光头1 接收速率")
    @Column(name = "ZX3477")
    private Integer ZX3477;

    @ApiModelProperty(value = "激光头1 状态0无效，1有效")
    @Column(name = "ZX3108")
    private Integer ZX3108;



    @ApiModelProperty(value = "激光头2 接收速率")
    @Column(name = "ZX4477")
    private Integer ZX4477;

    @ApiModelProperty(value = "激光头2 状态0无效，1有效")
    @Column(name = "ZX4108")
    private Integer ZX4108;



    @ApiModelProperty(value = "激光头3 接收速率")
    @Column(name = "ZX2477")
    private Integer ZX2477;

    @ApiModelProperty(value = "激光头3 状态0无效，1有效")
    @Column(name = "ZX2108")
    private Integer ZX2108;



    @ApiModelProperty(value = "激光头4 接收速率")
    @Column(name = "ZX5477")
    private Integer ZX5477;

    @ApiModelProperty(value = "激光头4 状态0无效，1有效")
    @Column(name = "ZX5108")
    private Integer ZX5108;

}
